<!--bof top banner-->
<div id="global"> 
	<ul class="panel"> 
	  <div class="l-t"> 
		<li> 
		  <dl>         
			<span class="strongstyle black"><a href="/">HOME</a></span>&nbsp;|&nbsp;
				<a href="http://translate.google.com/translate?client=tmpg&amp;hl=fr&amp;u=<?php echo HTTP_SERVER; ?>&amp;langpair=en|fr" rel="nofollow">French</a>
				|
				<a href="http://translate.google.com/translate?client=tmpg&amp;hl=it&amp;u=<?php echo HTTP_SERVER; ?>&amp;langpair=en|it" rel="nofollow">Italiano</a>
				|
				<a href="http://translate.google.com/translate?client=tmpg&amp;hl=nl&amp;u=<?php echo HTTP_SERVER; ?>&amp;langpair=en|nl" rel="nofollow">Nederlands</a>
				|
				<a href="http://translate.google.com/translate?client=tmpg&amp;hl=es&amp;u=<?php echo HTTP_SERVER; ?>&amp;langpair=en|es" rel="nofollow">Spanish</a>
				|
				<a href="http://translate.google.com/translate?client=tmpg&amp;hl=da&amp;u=<?php echo HTTP_SERVER; ?>&amp;langpair=en|da" rel="nofollow">Dansk</a>&nbsp;|
						
			</dl>
		</li>
		<li id="currency">
		  <dl class="submenu" style="z-index: 1; ">
			<dt><a class="sub-menu-icon" title="Currency" href="/#nogo" rel="nofollow">Currency  : <?php echo $currencies->display_symbol_left($_SESSION['currency']);?></a></dt>
			
			<dd style="left: 0px; display: none; ">
        						<a class="nowrap tab_USD" href="<?php
								$newurlString='';
								$urlString=$_SERVER['REQUEST_URI'];
								if (strpos($urlString,'?') != false ){
									if ($_GET['currency'] != false ) {
										$newurlString=str_replace($_GET['currency'],'USD',$urlString);
									}
									else {
										$newurlString= $urlString . '&currency=' . 'USD';
									}
								}
								else {
									$newurlString= $urlString . '?currency=' . 'USD';
								}
								echo $newurlString;
							?>" rel="nofollow" title="US Dollar" target="_top">US Dollar</a>
							
          						<a class="nowrap tab_EUR" href="<?php
								$newurlString='';
								$urlString=$_SERVER['REQUEST_URI'];
								if (strpos($urlString,'?') != false ){
									if ($_GET['currency'] != false ) {
										$newurlString=str_replace($_GET['currency'],'EUR',$urlString);
									}
									else {
										$newurlString= $urlString . '&currency=' . 'EUR';
									}
								}
								else {
									$newurlString= $urlString . '?currency=' . 'EUR';
								}
								echo $newurlString;
							?>" rel="nofollow" title="Euro" target="_top">Euro</a>
          						<a class="nowrap tab_GBP" href="<?php
								$newurlString='';
								$urlString=$_SERVER['REQUEST_URI'];
								if (strpos($urlString,'?') != false ){
									if ($_GET['currency'] != false ) {
										$newurlString=str_replace($_GET['currency'],'GBP',$urlString);
									}
									else {
										$newurlString= $urlString . '&currency=' . 'GBP';
									}
								}
								else {
									$newurlString= $urlString . '?currency=' . 'GBP';
								}
								echo $newurlString;
							?>"  rel="nofollow" title="GB Pound" target="_top">GB Pound</a>
          						<a class="nowrap tab_CAD" href="<?php
								$newurlString='';
								$urlString=$_SERVER['REQUEST_URI'];
								if (strpos($urlString,'?') != false ){
									if ($_GET['currency'] != false ) {
										$newurlString=str_replace($_GET['currency'],'CAD',$urlString);
									}
									else {
										$newurlString= $urlString . '&currency=' . 'CAD';
									}
								}
								else {
									$newurlString= $urlString . '?currency=' . 'CAD';
								}
								echo $newurlString;
							?>"  rel="nofollow" title="Canadian Dollar" target="_top">Canadian Dollar</a>
          						<a class="nowrap tab_AUD" href="<?php
								$newurlString='';
								$urlString=$_SERVER['REQUEST_URI'];
								if (strpos($urlString,'?') != false ){
									if ($_GET['currency'] != false ) {
										$newurlString=str_replace($_GET['currency'],'AUD',$urlString);
									}
									else {
										$newurlString= $urlString . '&currency=' . 'AUD';
									}
								}
								else {
									$newurlString= $urlString . '?currency=' . 'AUD';
								}
								echo $newurlString;
							?>"  rel="nofollow" title="Australian Dollar" target="_top">Australian Dollar</a>
          						<a class="nowrap tab_HKD" href="<?php
								$newurlString='';
								$urlString=$_SERVER['REQUEST_URI'];
								if (strpos($urlString,'?') != false ){
									if ($_GET['currency'] != false ) {
										$newurlString=str_replace($_GET['currency'],'HKD',$urlString);
									}
									else {
										$newurlString= $urlString . '&currency=' . 'HKD';
									}
								}
								else {
									$newurlString= $urlString . '?currency=' . 'HKD';
								}
								echo $newurlString;
							?>"  rel="nofollow" title="Hong Kong Dollars" target="_top">Hong Kong Dollars</a>
          						
            </dd>
			
			
			
		  </dl> 
		</li> 
	  </div>
	  <div class="r-t">
		<li class="lay">
		  <dl class="submenu" style="z-index: 1; ">
			<dt class="help" id="chat">
			  <span>
				<strong class="sub-menu-icon">Live Chat</strong>
			  </span>
			</dt>
			<dd style="right: 0px; display: none; " class="dd_live_chat"> 
			  <div class="help-con">
				<p class="online1"> 
				  <span class="strongstyle black">	
				  <a href="index.php?main_page=account">If you have already made a purchase</a></span>
				  <br />Log in to <a href="index.php?main_page=account">My Orders</a> to track progress or request help through the order details page.</p>            
				<p style="border-top:1px solid #ddd;margin-top:8px;padding-top:5px" class="online2">
				  <span class="strongstyle black">	
				  <a href="javascript:void(window.open('/livechat/livezilla.php?code=U0VSVkVSUEFHRQ__','','width=590,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))" class="black u_" rel="nofollow">If you are considering a purchase</a></span>
				  <br>Chat with Online Customer Service to get more information before you purchase!<a href="javascript:void(window.open('/livechat/livezilla.php?code=U0VSVkVSUEFHRQ__','','width=590,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))" class="u blue" rel="nofollow"><br>Start Online Chat</a><br>(Online sales does not have access to order information.)
				</p>
			  </div>
			</dd>
		  </dl>
		</li>
		<li class="lay">
		  <dl class="submenu" style="z-index: 1; ">
			<dt id="help"><a class="b sub-menu-icon" rel="nofollow" target="_top" href="/faqs_all.html">Help</a></dt> 
			<dd style="right: 0px; display: none; " class="dd_help">
			  <nobr><a target="_top" rel="nofollow" href="/faqs_all.html" class="u_">Help Center</a></nobr>
			  <div style="border-top:1px solid #ddd;margin-top:3px;">
				<nobr><a target="_top" rel="nofollow" href="/faq.html" class="nowrap u_">Contact Customer Service</a></nobr>
			  </div>
			</dd>
		  </dl>
		</li>
		<li>
		  <dl><dt><a class="b" target="_top" title="View Orders" rel="nofollow" href="/index.php?main_page=account">My Orders</a></dt></dl>
		</li>
		<li>
		  <dl>
			<dt> 
			
			 <?php if (isset($_SESSION['customer_id'])){ ?>

					  Welcome!&nbsp; 
					  <a rel="nofollow" target="_top" class="red" href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL');?>" title="Sign in"><?php echo zen_get_customer_name($_SESSION['customer_id']); ?></a>&nbsp;or&nbsp; 
					  <a rel="nofollow" target="_top" class="red" href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL');?>" title="New guest">Logout </a>

					  <?php }else{ ?>

					  Welcome!&nbsp; 
					  <a rel="nofollow" class="red" href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL');?>" title="Sign in" target="_top" style="font-weight: bold"> Sign in </a>&nbsp;or&nbsp; 
					  <a rel="nofollow" class="red" href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL');?>" title="New guest" target="_top" style="font-weight: bold">New guest</a>

					  <?php } ?>
			</dt>       
		  </dl>
		</li>
	  </div>
	</ul> 
</div>
<!--eof top banner-->


<!--bof search input-->
<ul id="main" class="panel" style="z-index:10000;"> 
  <li class="logo ">
   <a href="/" title="Sex Toys"> <img src="/images/logo.png" /> </a>
  </li>
  <li class="slogan">
   <?php echo STORE_SLOGAN; ?>
  </li>
  <li>
    <div class="search" id="cont">
      <div class="search-con">
        <form name="quick_find_header" action="/index.php?main_page=advanced_search_result" method="get" id="quick_find_header" target="_parent">
          <input type="hidden" name="main_page" value="advanced_search_result">
          <input type="hidden" name="inc_subcat" value="1">
          <input type="hidden" name="search_in_description" value="0">
          <input type="text" name="keyword" id="keywords" maxlength="60" value="Keywords to Search Products" dvalue="Keywords to Search Products" autocomplete="off" lang="1">
          <div class="search_submit"><span>Search</span></div>
		</form>     
      <div class="search-bot"></div>
      </div>
    </div>    
  </li>
  
  <li class="shopping-cart">
    <dl class="shopping-carts">
      <dt>
	  <?php if($_SESSION['cart']->count_contents()>0){ ?>
		<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" rel="nofollow"><span> Cart <?php echo $_SESSION['cart']->count_contents();  ?>  Item(s)</span></a>
	  <?php }else{ ?>
		<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" rel="nofollow"><span><?php echo HEADER_TITLE_SHOPPING_CART; ?></span></a>
	  <?php } ?>
      </dt>
    </dl>
  </li>
</ul>
<!---eof search input-->

<?php 
	require($template->get_template_dir('tpl_head_navgation.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_head_navgation.php');
?>

<script>
  init_header();
</script>
